<?php

# NIT ONLINE JUDGE CONFIGURATIONS
$_CONFIG = array();

# Config database connection
$_CONFIG['db']['host'] = 'localhost';
$_CONFIG['db']['dbuser'] = 'nojdb';
$_CONFIG['db']['dbpass'] = 'nojdb';
$_CONFIG['db']['dbname'] = 'judge';
$_CONFIG['db']['dbcharset'] = 'gbk';

# Config judger
$_CONFIG['judge']['host'] = 'localhost';
$_CONFIG['judge']['port'] = '216';
$_CONFIG['judge']['limit'] = 5;

# Optimize performance
$_CONFIG['mem']['host'] = 'localhost';
$_CONFIG['mem']['prefix'] = 'judge_';
$_CONFIG['mem']['memcached'] = 0;
$_CONFIG['mem']['eaccelerator'] = 0;

# Config cookies
$_CONFIG['cookie']['prefix'] = 'NOJ_';
$_CONFIG['cookie']['domain'] = '';
$_CONFIG['cookie']['path'] = '/';

?>